From: Juergen Gross Date: Wed, 9 Nov 2022 09:48:59 +0000 (+0100) Subject: tools/hotplug: fix systemd unit dependencies X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~33 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=aa1bf3858551b7cd1facfb116fe35830aceac497;p=xen.git tools/hotplug: fix systemd unit dependencies Commit 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR") removed the systemd file var-lib-xenstored.mount without removing dependencies to this file. Fixes: 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR") Signed-off-by: Juergen Gross Reviewed-by: Anthony PERARD Release-acked-by: Henry Wang --- diff --git a/tools/hotplug/Linux/systemd/xenstored.service.in b/tools/hotplug/Linux/systemd/xenstored.service.in index 80c1d408a5..261077dc92 100644 --- a/tools/hotplug/Linux/systemd/xenstored.service.in +++ b/tools/hotplug/Linux/systemd/xenstored.service.in @@ -1,7 +1,7 @@ [Unit] Description=The Xen xenstore -Requires=proc-xen.mount var-lib-xenstored.mount -After=proc-xen.mount var-lib-xenstored.mount +Requires=proc-xen.mount +After=proc-xen.mount Before=libvirtd.service libvirt-guests.service RefuseManualStop=true ConditionPathExists=/proc/xen/capabilities @@ -16,4 +16,3 @@ ExecStart=@XEN_SCRIPT_DIR@/launch-xenstore [Install] WantedBy=multi-user.target Also=proc-xen.mount -Also=var-lib-xenstored.mount